<div class="tableToolbar">
    <div class="coll-md-9" id="addInput">
        <div class="coll-md-2">
            <input type="text" class='search' placeholder="用户名/真实姓名/手机号" ng-model="ctrlScope.itemsearch.commonCond">
        </div>
        <div class="coll-md-2 scalenone" id="search2">
            <div class="coll-md-10 triangle">
                <select class="form-control" ng-model="ctrlScope.itemsearch.type">
                    <option value="" hidden disabled selected>操作类型</option>
                    <option value="user_recharge">用户充值</option>
                    <option value="user_recharge_success">用户充值成功</option>
                    <option value="user_recharge_fail">用户充值失败</option>
                    <option value="user_recharge_verify">用户充值审核通过</option>
                    <option value="user_cash_apply">用户提现申请</option>
                    <option value="user_cash_success">用户提现成功</option>
                    <option value="user_cash_fail">用户提现失败</option>
                    <option value="user_cash_verify">用户提现审核通过</option>
                    <option value="invest">用户投资</option>
                    <option value="invest_deduct">扣除项目投资冻结资金</option>
                    <option value="generate_wait">产成待收资金</option>
                    <option value="received_lend">收到项目资金</option>
                    <option value="receive_repay">回款收入</option>
                    <option value="repay_lend">还款</option>
                    <option value="invite_invest_award">邀请用户投资奖励</option>
                </select>
            </div>
        </div>
        <div class="coll-md-5 scalenone"  id="searchdate" datahide>
            <div class="coll-md-5" >
                <p class="input-group">
                    <input type="text" class="search" placeholder="添加开始时间" uib-datepicker-popup="yyyy-MM-dd"
                           ng-model="ctrlScope.itemsearch.beginDateTimex" is-open="popup1.opened" datepicker-options="dateOptions"/>
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open1()"><i
                                                class="glyphicon glyphicon-calendar"></i></button>
							          </span>
                </p>
            </div>
            <div class="coll-md-5">
                <p class="input-group inline">
                    <input type="text" class="search" placeholder="添加结束时间" uib-datepicker-popup="yyyy-MM-dd"
                           ng-model="ctrlScope.itemsearch.endDateTimex" is-open="popup2.opened" datepicker-options="dateOptions"/>
						<span class="input-group-btn">
							            <button type="button" class="small-icon btn btn-default" ng-click="open2()"><i
                                                class="glyphicon glyphicon-calendar"></i></button>
							          </span>
                </p>
            </div>
        </div>
        <div class="coll-md-1">
            <input type="button" class="small-icon search2-icon" value="搜索" ng-click="search()">
            <input type="button" class="small-icon search2" value="搜索">
            <input type="button" class="small-icon reset-icon" reset-icon value="重置" ng-click="reset()">
            <input type="button" class="small-icon reset" value="重置">

            <div class="dropdown-menu-right">
                <input type="button" class="small-icon more-icon" value="更多" title='更多搜索项' id="more-icon" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false">
                <input type="button" class="small-icon more" value="更多">
                <ul class="dropdown-menu" style='margin-left:80px;' aria-labelledby="dropdownMenu2" more-search>
                    <li><a href="javascript:;">日期搜索</a></li>
                    <li><a href="javascript:;">操作类型搜索</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="coll-md-1">
        <button class="small-icon btn btn-default pos-right"  ng-click="download()">
            <i class="fa fa-download"></i>
        </button>
    </div>
</div>
<table ui-table="orderParams">
    <thead>
    <tr>
        <th>ID</th>
        <th>用户名</th>
        <th>真实姓名</th>
        <th>手机号</th>
        <th>操作类型</th>
        <th>操作金额(元)</th>
        <th>总金额(元)</th>
        <th>可用金额(元)</th>
        <th>冻结金额(元)</th>
        <th>待收金额(元)</th>
        <th>待还金额(元)</th>
        <th>交易对方</th>
        <th>添加时间</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="item in orderParams.$rows">
        <td>{{item.id}}</td>
        <td>
            <span ng-if="item.username">{{item.username}}</span>
            <span ng-if="item.sysUsername">{{item.sysUsername}}</span>
        </td>
        <td>{{item.realname}}</td>
        <td>{{item.mobile}}</td>
        <td>{{item.dictType}}</td>
        <td>{{item.operMoney}}</td>
        <td>{{item.total}}</td>
        <td>{{item.usable}}</td>
        <td>{{item.frozen}}</td>
        <td>{{item.wait}}</td>
        <td>{{item.repay}}</td>
        <td>{{item.tradeUserId}}</td>
        <td>{{item.addtime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
    </tr>
    </tbody>
</table>
